<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>共享充电宝</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card layui-form" wid100>
        <input type="hidden" name="deviceSn" value="$!{deviceSn}"/>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">设备序列号</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{deviceSn}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">设备类型</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{deviceTypeName}($!{deviceTypeId})</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">版本号</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{versionNumber}</div>
                         </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-sm3">
                    <div class="layui-form-item">
                        <label class="layui-form-label">插座数量</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{slotTotal}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm3">
                    <div class="layui-form-item">
                        <label class="layui-form-label">设备状态</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">
                                #if($state == 2)
                                <span class="layui-badge layui-bg-green">$!{stateName}</span>
                                #else
                                <span class="layui-badge layui-bg-black">$!{stateName}</span>
                                #end
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm3">
                    <div class="layui-form-item">
                        <label class="layui-form-label">信号强度</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{rssi}</div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">国际识别码</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{imsi}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">SIM卡号</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{iccid}</div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
            	<div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">IOT节点</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{iotNodeId}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">通讯协议</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{protocolType}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">物联网卡号</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{cardNum}</div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">上次离线时间</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($lastOfflineDate,'yyyy-MM-dd HH:mm:ss')}</div>
                         </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">最后修改时间</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($updateDate,'yyyy-MM-dd HH:mm:ss')}</div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">创建时间</label>
                        <div class="layui-input-block">
                            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($createDate,'yyyy-MM-dd HH:mm:ss')}</div>
                         </div>
                    </div>
                </div>
            </div>
        </div>
    </div><!-- /.layui-form -->

    <div class="layui-card">
        <div class="layui-card-header">
            卡槽列表
            <div style="float: right;">
                <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="lease">自动租借</button>
                <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="search">查询</button>
                <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="ejectAll">全部弹出</button>
                <button class="layui-btn layui-btn-sm layui-btn-danger LAY-btn-fun" data-type="restart">重启</button>
            </div>
        </div>
        <div class="layui-card-body">
            <table id="LAY-table" lay-filter="LAY-table"></table>
            <script type="text/html" id="LAY-table-toolbar">
                <a class="layui-btn layui-btn-xs" lay-event="charge">租借</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="closeCharge">强制弹出</a>
            </script>
        </div>
    </div>
</div>
#parse('/footFiles.html')
<script type="text/javascript">
layui.config({
	base: '$!{webRoot}/assets/layuiadmin/'
	,webRoot:'$!{webRoot}'
}).extend({
	index: 'lib/index'
    ,battery_cabinet_info:'cdb/battery_cabinet_info'
}).use(['index', 'form', 'battery_cabinet_info']);
</script>
</body>
</html>